package com.liang.design.event.listener;

import com.liang.design.LotteryResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author lsm
 * @ClassName MQEventListener.java
 * @Description TODO
 * @createTime 2023年12月05日 20:20:00
 */
public class MQEventListener implements EventListener{
    private Logger logger = LoggerFactory.getLogger(MQEventListener.class);
    @Override
    public void doEvent(LotteryResult result) {
        logger.info("记录⽤用户 {} 摇号结果(MQ)： {}", result.getUId(), result.getMsg());
    }
}
